﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Linq;
using System.Web;

namespace MongoDBSample.Models.DB
{
    [BsonIgnoreExtraElements]
    public class Attachment
    {
        public ObjectId Id { get; set; }

        public string Owner { get; set; }

        [DisplayName("Attachment Name")]
        public string Name { get; set; }

        public ObjectId FileId { get; set; }
    }
}